<html xmlns:th="http://www.thymeleaf.org">
<head><meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基于Bootstrap的简洁登录界面设计效果|chajian.bootstrapmb.com</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" th:href="@{css/style.css}">
    <!--[if IE]><script src="http://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="demo form-bg" style="padding: 20px 0;">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-3 col-md-6">
                <form class="form-horizontal" th:action="@{/login}" method="post">
                    <span class="heading">用户登录</span>
                    <div class="form-group">
                        <input type="text" class="form-control" name="username" placeholder="用户名"><i class="fa fa-user"></i>
                    </div>
                    <div class="form-group help">
                        <input type="password" class="form-control" name="password" placeholder="密　码"><i class="fa fa-lock"></i><a href="#" class="fa fa-question-circle"></a>
                    </div>
                    <div class="form-group"><div class="main-checkbox"><input type="checkbox" value="None" id="checkbox1" name="check" /><label for="checkbox1"></label>
                    </div>
                        <span class="text">Remember me</span><button type="submit" class="btn btn-default">登录</button><button type="button" class="btn btn-default" onclick="location.href='/ems/register'">注册</button> </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>